<#import "/macro.ftl" as m>
<@m.page_header title='推广访问明细' />
<div id="page-content-wrapper">
    <div id="page-title">
        <h3>推广访问明细</h3>
    </div>
    
    <div id="page-content">
    	<div class="row">
	    	<div class="col-md-12 font-size-20 mrg10B">
	    		${popularize.category.bigger.name} ${popularize.category.name} ${popularize.name} 
	    	</div>
	    </div>
    	<table id="popularizeVisits" class="table">
	        <thead>
	            <tr>
	                <th>浏览时间</th>
	                <th>来源页面</th>
	                <th>访问页面</th>
	            </tr>
	        </thead>
	        <tbody>
	        	<#list popularizeVisits.list as popularizeVisit>
					<tr>
		                <td>${popularizeVisit.createDate?string('yyyy-MM-dd HH:mm:ss')}</td>
		                <td>
		                	<span title="${popularizeVisit.source}">
			                	<#if popularizeVisit.source?? && popularizeVisit.source?length &gt; 50>
			                		${popularizeVisit.source?substring(0, 50)}
			                	<#else>
			                		${popularizeVisit.source}
			                	</#if>
		                	</span>
		                </td>
		                <td>
		                	<span title="${popularizeVisit.visitUrl}">
			                	<#if popularizeVisit.visitUrl?? && popularizeVisit.visitUrl?length &gt; 50>
			                		${popularizeVisit.visitUrl?substring(0, 50)}
			                	<#else>
			                		${popularizeVisit.visitUrl}
			                	</#if>
		                	</span>
		                </td>
		            </tr>
				</#list>    
	    	</tbody>
	    </table>
	    <div class="button-group center-div">
	    	${pagerHelper.content}
	    </div>
    </div>
</div>